inherited frmCheques: TfrmCheques
  Left = 260
  Top = 110
  Caption = ''
  ClientHeight = 582
  ClientWidth = 839
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Top = 545
    Width = 839
  end
  inherited Panel2: TPanel
    Width = 839
    Height = 545
    inherited Panel3: TPanel
      Width = 837
      Caption = 'Controle de Cheques'
      inherited GroupBox1: TGroupBox
        Left = 758
      end
    end
    inherited Panel4: TPanel
      Width = 837
      Height = 503
      inherited SbHints: TStatusBar
        Top = 480
        Width = 829
      end
      object pnl_devolucao: TPanel
        Left = 4
        Top = 304
        Width = 829
        Height = 176
        Align = alBottom
        BevelInner = bvRaised
        BorderWidth = 1
        TabOrder = 2
        object pnl_botoes_baixa: TPanel
          Left = 3
          Top = 143
          Width = 823
          Height = 30
          Align = alBottom
          BevelOuter = bvNone
          TabOrder = 1
          object btnBaixaDevolucao: TBitBtn
            Left = 234
            Top = 3
            Width = 113
            Height = 25
            Caption = 'Baixa Devolucao'
            Enabled = False
            TabOrder = 2
            OnClick = btnBaixaDevolucaoClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              3333333333333333333333333333333333333FFFFFFFFFFFFFFF000000000000
              000077777777777777770FFFFFFFFFFFFFF07F3333FFF33333370FFFF777FFFF
              FFF07F333777333333370FFFFFFFFFFFFFF07F3333FFFFFF33370FFFF777777F
              FFF07F33377777733FF70FFFFFFFFFFF99907F3FFF33333377770F777FFFFFFF
              9CA07F77733333337F370FFFFFFFFFFF9A907FFFFFFFFFFF7FF7000000000000
              0000777777777777777733333333333333333333333333333333333333333333
              3333333333333333333333333333333333333333333333333333333333333333
              3333333333333333333333333333333333333333333333333333}
            NumGlyphs = 2
          end
          object btnIncluiDevolucao: TBitBtn
            Left = 120
            Top = 3
            Width = 113
            Height = 25
            Caption = 'Inclui Devolu'#231#227'o'
            Enabled = False
            TabOrder = 1
            OnClick = btnIncluiDevolucaoClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              3333333333333333333333333333333333333FFFFFFFFFFFFFFF000000000000
              000077777777777777770FFFFFFFFFFFFFF07F3333FFF33333370FFFF777FFFF
              FFF07F333777333333370FFFFFFFFFFFFFF07F3333FFFFFF33370FFFF777777F
              FFF07F33377777733FF70FFFFFFFFFFF99907F3FFF33333377770F777FFFFFFF
              9CA07F77733333337F370FFFFFFFFFFF9A907FFFFFFFFFFF7FF7000000000000
              0000777777777777777733333333333333333333333333333333333333333333
              3333333333333333333333333333333333333333333333333333333333333333
              3333333333333333333333333333333333333333333333333333}
            NumGlyphs = 2
          end
          object btnBaixaInclusao: TBitBtn
            Left = 6
            Top = 3
            Width = 113
            Height = 25
            Caption = 'Baixa Inclus'#227'o'
            Enabled = False
            TabOrder = 0
            OnClick = btnBaixaInclusaoClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              3333333333333333333333333333333333333FFFFFFFFFFFFFFF000000000000
              000077777777777777770FFFFFFFFFFFFFF07F3333FFF33333370FFFF777FFFF
              FFF07F333777333333370FFFFFFFFFFFFFF07F3333FFFFFF33370FFFF777777F
              FFF07F33377777733FF70FFFFFFFFFFF99907F3FFF33333377770F777FFFFFFF
              9CA07F77733333337F370FFFFFFFFFFF9A907FFFFFFFFFFF7FF7000000000000
              0000777777777777777733333333333333333333333333333333333333333333
              3333333333333333333333333333333333333333333333333333333333333333
              3333333333333333333333333333333333333333333333333333}
            NumGlyphs = 2
          end
        end
        object DBGrid1: TDBGrid
          Left = 3
          Top = 60
          Width = 823
          Height = 83
          TabStop = False
          Align = alClient
          DataSource = ds_devolucoes
          Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
          TabOrder = 0
          TitleFont.Charset = ANSI_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'MS Sans Serif'
          TitleFont.Style = []
          OnCellClick = DBGrid1CellClick
          Columns = <
            item
              Expanded = False
              FieldName = 'CHE_IDFCHEQUE'
              Visible = False
            end
            item
              Expanded = False
              FieldName = 'CHD_IDFDEVOLUCAO'
              Visible = False
            end
            item
              Expanded = False
              FieldName = 'ALI_CODIGO'
              Visible = False
            end
            item
              Expanded = False
              FieldName = 'ALI_NOME'
              Title.Caption = 'AL'#205'NEA'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'CHD_DATADEVOLUCAO'
              Title.Caption = 'DATA DE DEVOLU'#199#195'O'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'CHD_DATAREAPRESENTACAO'
              Title.Caption = 'DATA DE REAPRESENTACAO'
              Visible = True
            end>
        end
        object Panel5: TPanel
          Left = 3
          Top = 3
          Width = 823
          Height = 16
          Align = alTop
          Caption = 'Dados da Devolu'#231#227'o'
          Color = clSkyBlue
          Ctl3D = True
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentCtl3D = False
          ParentFont = False
          TabOrder = 3
        end
        object pnl_Alinea: TPanel
          Left = 3
          Top = 19
          Width = 823
          Height = 41
          Align = alTop
          BevelOuter = bvNone
          TabOrder = 2
          object Label9: TLabel
            Left = 639
            Top = 3
            Width = 100
            Height = 13
            Caption = 'Data reapresenta'#231#227'o'
          end
          object Label8: TLabel
            Left = 540
            Top = 3
            Width = 76
            Height = 13
            Caption = 'Data devolu'#231#227'o'
          end
          object Label5: TLabel
            Left = 5
            Top = 3
            Width = 29
            Height = 13
            Caption = 'Alinea'
          end
          object btnExclude: TBitBtn
            Left = 792
            Top = 17
            Width = 21
            Height = 21
            Hint = 'Exlui lancamento de alinea'
            Enabled = False
            ParentShowHint = False
            ShowHint = True
            TabOrder = 7
            OnClick = btnExcludeClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333000000000
              3333333777777777F3333330F777777033333337F3F3F3F7F3333330F0808070
              33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
              33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
              333333F7F7F7F7F7F3F33030F080707030333737F7F7F7F7F7333300F0808070
              03333377F7F7F7F773333330F080707033333337F7F7F7F7F333333070707070
              33333337F7F7F7F7FF3333000000000003333377777777777F33330F88877777
              0333337FFFFFFFFF7F3333000000000003333377777777777333333330777033
              3333333337FFF7F3333333333000003333333333377777333333}
            NumGlyphs = 2
          end
          object btnCancel: TBitBtn
            Left = 771
            Top = 17
            Width = 21
            Height = 21
            Hint = 'Edita alinea'
            Enabled = False
            ParentShowHint = False
            ShowHint = True
            TabOrder = 6
            OnClick = btnCancelClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000130B0000130B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
              3333333777333777FF3333993333339993333377FF3333377FF3399993333339
              993337777FF3333377F3393999333333993337F777FF333337FF993399933333
              399377F3777FF333377F993339993333399377F33777FF33377F993333999333
              399377F333777FF3377F993333399933399377F3333777FF377F993333339993
              399377FF3333777FF7733993333339993933373FF3333777F7F3399933333399
              99333773FF3333777733339993333339933333773FFFFFF77333333999999999
              3333333777333777333333333999993333333333377777333333}
            NumGlyphs = 2
          end
          object btnPost: TBitBtn
            Left = 750
            Top = 17
            Width = 21
            Height = 21
            Hint = 'Inclui alinea'
            Enabled = False
            ParentShowHint = False
            ShowHint = True
            TabOrder = 5
            OnClick = btnPostClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00555555555555
              555555555555555555555555555555555555555555FF55555555555559055555
              55555555577FF5555555555599905555555555557777F5555555555599905555
              555555557777FF5555555559999905555555555777777F555555559999990555
              5555557777777FF5555557990599905555555777757777F55555790555599055
              55557775555777FF5555555555599905555555555557777F5555555555559905
              555555555555777FF5555555555559905555555555555777FF55555555555579
              05555555555555777FF5555555555557905555555555555777FF555555555555
              5990555555555555577755555555555555555555555555555555}
            NumGlyphs = 2
          end
          object DBEditReapresentacao: TDBEdit
            Left = 640
            Top = 17
            Width = 105
            Height = 21
            Hint = 'Data da reapresenta'#231#227'o'
            CharCase = ecUpperCase
            DataField = 'CHD_DATAREAPRESENTACAO'
            DataSource = ds_devolucoes
            ParentShowHint = False
            ShowHint = True
            TabOrder = 4
          end
          object DBEditDevolucao: TDBEdit
            Left = 538
            Top = 17
            Width = 96
            Height = 21
            Hint = 'Data de devolu'#231#227'o'
            CharCase = ecUpperCase
            DataField = 'CHD_DATADEVOLUCAO'
            DataSource = ds_devolucoes
            ParentShowHint = False
            ShowHint = True
            TabOrder = 3
          end
          object st_Alinea: TStaticText
            Left = 75
            Top = 17
            Width = 462
            Height = 21
            AutoSize = False
            BorderStyle = sbsSingle
            TabOrder = 2
          end
          object DBEditAlinea: TDBEdit
            Left = 5
            Top = 17
            Width = 46
            Height = 21
            Hint = 'Codigo da Alinea (motivo da devolu'#231#227'o do cheque)'
            CharCase = ecUpperCase
            DataField = 'ALI_CODIGO'
            DataSource = ds_devolucoes
            ParentShowHint = False
            ShowHint = True
            TabOrder = 0
            OnExit = DBEditAlineaExit
          end
          object btn_alinea: TButton
            Left = 53
            Top = 17
            Width = 21
            Height = 21
            Hint = 'Consulta al'#237'nea'
            Caption = '...'
            Enabled = False
            TabOrder = 1
            TabStop = False
            OnClick = btn_alineaClick
          end
        end
      end
      object pnl_titular: TPanel
        Left = 4
        Top = 241
        Width = 829
        Height = 63
        Align = alClient
        BevelInner = bvLowered
        BorderWidth = 1
        TabOrder = 1
        object Label6: TLabel
          Left = 691
          Top = 19
          Width = 90
          Height = 13
          Caption = 'Identidade/Ins.Est.'
        end
        object Label19: TLabel
          Left = 229
          Top = 19
          Width = 28
          Height = 13
          Caption = 'Nome'
        end
        object Label18: TLabel
          Left = 112
          Top = 19
          Width = 42
          Height = 13
          Caption = 'Cpf/Cnpj'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label15: TLabel
          Left = 8
          Top = 19
          Width = 36
          Height = 13
          Caption = 'C'#243'digo:'
        end
        object BitBtnPessoa: TBitBtn
          Left = 90
          Top = 35
          Width = 21
          Height = 21
          Hint = 'Consulta clientes cadastrados'
          Caption = '...'
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 1
          TabStop = False
          OnClick = BitBtnPessoaClick
        end
        object Panel8: TPanel
          Left = 3
          Top = 3
          Width = 823
          Height = 16
          Align = alTop
          Caption = 'Dados do Titular'
          Color = clSkyBlue
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
          TabOrder = 2
        end
        object DBEditNomeTitular: TDBEdit
          Left = 224
          Top = 35
          Width = 457
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'PES_NOME'
          DataSource = DtSrc
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 3
        end
        object DBEditIdentidade: TDBEdit
          Left = 688
          Top = 35
          Width = 129
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'PES_IDEINS'
          DataSource = DtSrc
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 4
        end
        object DBEditTitular: TDBEdit
          Left = 8
          Top = 35
          Width = 81
          Height = 21
          DataField = 'CHE_EMISSOR'
          DataSource = DtSrc
          TabOrder = 0
          OnExit = DBEditTitularExit
        end
        object Edt_CpfCnpj: TDBEdit
          Left = 112
          Top = 35
          Width = 105
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'PES_CPFCNPJ'
          DataSource = DtSrc
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 5
        end
      end
      object pnl_dadoscheque: TPanel
        Left = 4
        Top = 4
        Width = 829
        Height = 237
        Align = alTop
        BevelInner = bvLowered
        BorderWidth = 1
        TabOrder = 0
        object Shape1: TShape
          Left = 712
          Top = 105
          Width = 105
          Height = 21
          Brush.Style = bsClear
        end
        object Label3: TLabel
          Left = 7
          Top = 93
          Width = 41
          Height = 13
          Caption = 'Empresa'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label11: TLabel
          Left = 351
          Top = 93
          Width = 46
          Height = 13
          Caption = 'Vendedor'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label2: TLabel
          Left = 721
          Top = 128
          Width = 67
          Height = 13
          Caption = 'Data de Baixa'
        end
        object Label1: TLabel
          Left = 688
          Top = 56
          Width = 55
          Height = 13
          Caption = 'Documento'
        end
        object Label25: TLabel
          Left = 207
          Top = 56
          Width = 56
          Height = 13
          Caption = 'Vencimento'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label10: TLabel
          Left = 120
          Top = 56
          Width = 39
          Height = 13
          Caption = 'Emiss'#227'o'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label7: TLabel
          Left = 7
          Top = 56
          Width = 80
          Height = 13
          Caption = 'Valor cheque R$'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label21: TLabel
          Left = 8
          Top = 20
          Width = 91
          Height = 13
          Caption = 'N'#250'mero do cheque'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label22: TLabel
          Left = 123
          Top = 20
          Width = 31
          Height = 13
          Caption = 'Banco'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label23: TLabel
          Left = 569
          Top = 20
          Width = 39
          Height = 13
          Caption = 'Ag'#234'ncia'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label24: TLabel
          Left = 680
          Top = 20
          Width = 83
          Height = 13
          Caption = 'N'#250'mero da Conta'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label4: TLabel
          Left = 300
          Top = 56
          Width = 99
          Height = 13
          Caption = 'Pra'#231'a de pagamento'
        end
        object Label12: TLabel
          Left = 8
          Top = 128
          Width = 28
          Height = 13
          Caption = 'Conta'
        end
        object Label13: TLabel
          Left = 328
          Top = 128
          Width = 46
          Height = 13
          Caption = 'Subconta'
        end
        object Label14: TLabel
          Left = 712
          Top = 92
          Width = 42
          Height = 13
          Caption = 'Situa'#231#227'o'
        end
        object DBText1: TDBText
          Left = 715
          Top = 108
          Width = 97
          Height = 17
          Alignment = taCenter
          DataField = 'CHE_SITUACAO_LITERAL'
          DataSource = DtSrc
          Font.Charset = ANSI_CHARSET
          Font.Color = clRed
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object gbx_observacao: TGroupBox
          Left = 8
          Top = 168
          Width = 818
          Height = 66
          Caption = 'Observa'#231#245'es'
          TabOrder = 20
          object memo_observacoes: TDBMemo
            Left = 2
            Top = 15
            Width = 814
            Height = 49
            Hint = 'Observa'#231#245'es do cheque'
            Align = alClient
            DataField = 'CHE_OBSERVA'
            DataSource = DtSrc
            ParentShowHint = False
            ShowHint = True
            TabOrder = 0
          end
        end
        object DBEdtEmpresa_IDF: TDBEdit
          Left = 7
          Top = 105
          Width = 32
          Height = 21
          Hint = 'C'#243'digo da empresa'
          CharCase = ecUpperCase
          DataField = 'EMP_CODIGO'
          DataSource = DtSrc
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 11
          OnExit = DBEdtEmpresa_IDFExit
        end
        object BitBtnEmpresa: TBitBtn
          Left = 41
          Top = 105
          Width = 21
          Height = 21
          Hint = 'Consulta empresas cadastradas'
          Caption = '...'
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 12
          TabStop = False
          OnClick = BitBtnEmpresaClick
        end
        object DBEdtVendedor_Codigo: TDBEdit
          Left = 350
          Top = 105
          Width = 49
          Height = 21
          Hint = 'C'#243'digo do vendedor'
          CharCase = ecUpperCase
          DataField = 'CHE_VENDEDOR'
          DataSource = DtSrc
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 13
          OnExit = DBEdtVendedor_CodigoExit
        end
        object BitBtnVendedor: TBitBtn
          Left = 400
          Top = 105
          Width = 21
          Height = 21
          Hint = 'Consulta vendedor '
          Caption = '...'
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 14
          TabStop = False
          OnClick = BitBtnVendedorClick
        end
        object edt_data_baixa: TDBEdit
          Left = 720
          Top = 144
          Width = 97
          Height = 21
          Hint = 'Data de Baixa'
          TabStop = False
          AutoSize = False
          CharCase = ecUpperCase
          Color = clBtnFace
          Ctl3D = False
          DataField = 'CHE_APRESENTACAO'
          DataSource = DtSrc
          Enabled = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 19
          OnEnter = edt_data_baixaEnter
        end
        object btnDocumento: TButton
          Left = 796
          Top = 69
          Width = 21
          Height = 21
          Hint = 'Consulta documento'
          Caption = '...'
          Enabled = False
          TabOrder = 10
          TabStop = False
        end
        object edt_praca: TDBEdit
          Left = 300
          Top = 69
          Width = 381
          Height = 21
          Hint = 'Pra'#231'a de pagamento'
          CharCase = ecUpperCase
          DataField = 'CHE_PRACA'
          DataSource = DtSrc
          ParentShowHint = False
          ShowHint = True
          TabOrder = 8
        end
        object edt_vencimento: TDBEdit
          Left = 207
          Top = 69
          Width = 92
          Height = 21
          Hint = 'DAta de vencimento do cheque'
          CharCase = ecUpperCase
          DataField = 'CHE_VENCIMENTO'
          DataSource = DtSrc
          ParentShowHint = False
          ShowHint = True
          TabOrder = 7
          OnExit = edt_emissaoExit
        end
        object edt_emissao: TDBEdit
          Left = 120
          Top = 69
          Width = 85
          Height = 21
          Hint = 'Data da emiss'#227'o do cheque '
          CharCase = ecUpperCase
          DataField = 'CHE_EMISSAO'
          DataSource = DtSrc
          ParentShowHint = False
          ShowHint = True
          TabOrder = 6
          OnExit = edt_emissaoExit
        end
        object edt_valorcheque: TDBEdit
          Left = 8
          Top = 69
          Width = 110
          Height = 21
          Hint = 'Valor do Cheque (R$)'
          CharCase = ecUpperCase
          DataField = 'CHE_VALOR'
          DataSource = DtSrc
          Enabled = False
          TabOrder = 5
        end
        object DBE_NumCheque: TDBEdit
          Left = 7
          Top = 33
          Width = 114
          Height = 21
          Hint = 'N'#250'mero do cheque'
          CharCase = ecUpperCase
          DataField = 'CHE_NUMERO'
          DataSource = DtSrc
          ParentShowHint = False
          ShowHint = True
          TabOrder = 0
        end
        object DBE_Banco: TDBEdit
          Left = 123
          Top = 33
          Width = 65
          Height = 21
          Hint = 'C'#243'digo do Banco'
          CharCase = ecUpperCase
          DataField = 'CHE_BANCOEMISSOR'
          DataSource = DtSrc
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 1
          OnExit = DBE_BancoExit
        end
        object btn_Banco: TBitBtn
          Left = 187
          Top = 33
          Width = 21
          Height = 21
          Hint = 'Consulta bancos cadastrados'
          Caption = '...'
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 2
          TabStop = False
          OnClick = btn_BancoClick
        end
        object DBE_Agencia: TDBEdit
          Left = 568
          Top = 33
          Width = 108
          Height = 21
          Hint = 'N'#250'mero da ag'#234'ncia'
          CharCase = ecUpperCase
          DataField = 'CHE_AGENCIA'
          DataSource = DtSrc
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 3
        end
        object DBE_NConta: TDBEdit
          Left = 681
          Top = 33
          Width = 136
          Height = 21
          Hint = 'N'#250'mero da conta'
          CharCase = ecUpperCase
          DataField = 'CHE_CONTA'
          DataSource = DtSrc
          Enabled = False
          ParentShowHint = False
          ShowHint = True
          TabOrder = 4
        end
        object Panel7: TPanel
          Left = 3
          Top = 3
          Width = 823
          Height = 16
          Align = alTop
          Caption = 'Dados do Cheque'
          Color = clSkyBlue
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
          TabOrder = 21
        end
        object edt_conta: TDBEdit
          Left = 8
          Top = 144
          Width = 73
          Height = 21
          Hint = 'C'#243'digo da conta'
          CharCase = ecUpperCase
          DataField = 'CHE_CODCONTA'
          DataSource = DtSrc
          TabOrder = 15
          OnExit = edt_contaExit
        end
        object edt_subconta: TDBEdit
          Left = 328
          Top = 144
          Width = 65
          Height = 21
          Hint = 'C'#243'digo da subconta'
          CharCase = ecUpperCase
          DataField = 'CHE_CODSUBCONTA'
          DataSource = DtSrc
          TabOrder = 17
          OnExit = edt_subcontaExit
        end
        object btn_conta: TBitBtn
          Left = 82
          Top = 144
          Width = 21
          Height = 21
          Hint = 'Consulta conta'
          Caption = '...'
          Enabled = False
          TabOrder = 16
          TabStop = False
          OnClick = btn_contaClick
        end
        object btn_subconta: TBitBtn
          Left = 394
          Top = 144
          Width = 21
          Height = 21
          Hint = 'Consulta subconta'
          Caption = '...'
          Enabled = False
          TabOrder = 18
          TabStop = False
          OnClick = btn_subcontaClick
        end
        object edt_documento: TDBEdit
          Left = 688
          Top = 69
          Width = 105
          Height = 21
          TabStop = False
          CharCase = ecUpperCase
          Color = clBtnFace
          DataField = 'SAD_IDFDOCUMENTO'
          DataSource = DtSrc
          Enabled = False
          TabOrder = 9
        end
        object DBEdit1: TDBEdit
          Left = 210
          Top = 33
          Width = 353
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'BAN_NOME'
          DataSource = DtSrc
          Enabled = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 22
        end
        object DBEdit2: TDBEdit
          Left = 63
          Top = 105
          Width = 283
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'EMP_FANTAS'
          DataSource = DtSrc
          Enabled = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 23
        end
        object DBEdit3: TDBEdit
          Left = 422
          Top = 105
          Width = 282
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'USU_NOME'
          DataSource = DtSrc
          Enabled = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 24
        end
        object DBEdit4: TDBEdit
          Left = 416
          Top = 144
          Width = 297
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'SUB_DESCRICAO'
          DataSource = DtSrc
          Enabled = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 25
        end
        object DBEdit5: TDBEdit
          Left = 104
          Top = 144
          Width = 217
          Height = 21
          TabStop = False
          AutoSize = False
          Color = clBtnFace
          Ctl3D = False
          DataField = 'CON_DESCRICAO'
          DataSource = DtSrc
          Enabled = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 26
        end
      end
    end
  end
  inherited DtSrc: TDataSource
    AutoEdit = False
    DataSet = SQLC_Cheques
    OnStateChange = DtSrcStateChange
    OnDataChange = DtSrcDataChange
    Left = 440
    Top = 477
  end
  object ds_devolucoes: TDataSource
    AutoEdit = False
    DataSet = SQLC_Cheque_Devolvido
    OnStateChange = ds_devolucoesStateChange
    Left = 703
    Top = 419
  end
  object ZQRY_cheques: TZQuery
    Connection = DtmGeral.ZConexaoBanco
    UpdateObject = ZUpdateCheques
    SQL.Strings = (
      'SELECT '
      #9'PES.PES_CPFCNPJ,'
      '  PES.PES_NOME,'
      '  PES.PES_IDEINS,'
      '  BAN.BAN_NOME,'
      '  EMP.EMP_FANTAS,'
      '  CON.CON_DESCRICAO,'
      '  SUB.SUB_DESCRICAO,'
      '  VEN.USU_NOME,'
      '  CHE.CHE_IDFCHEQUE,'
      '  CHE.CHE_NUMERO,'
      '  CHE.CHE_BANCOEMISSOR,'
      '  CHE.CHE_AGENCIA,'
      '  CHE.CHE_CONTA,'
      '  CHE.CHE_VALOR,'
      '  CHE.CHE_EMISSAO,'
      '  CHE.CHE_VENCIMENTO,'
      '  CHE.CHE_PAGAMENTO,'
      '  CHE.CHE_APRESENTACAO,'
      '  CHE.CHE_PRACA,'
      '  CHE.SAD_IDFDOCUMENTO,'
      '  CHE.EMP_CODIGO,'
      '  CHE.CHE_VENDEDOR,'
      '  CHE.CHE_OBSERVA,'
      '  CHE.CHE_SITUACAO,'
      '  CHE.CHE_VALORPAGAMENTO,'
      '  CHE.CHE_EMISSOR,'
      '  CHE.CHE_BANCODEPOSITO,'
      '  CHE.CHE_USRINCLUSAO,'
      '  CHE.CHE_USRALTERACAO,'
      '  CHE.CHE_USRBAIXA,'
      '  CHE.CHE_DTHINCLUSAO,'
      '  CHE.CHE_DTHALTERACAO,'
      '  CHE.CHE_DTHBAIXA,'
      '  CHE.CHE_CODCONTA,'
      '  CHE.CHE_CODSUBCONTA,'
      '  CHE.CHE_LANCAMENTOIDF'
      'FROM '
      '  CHEQUES CHE'
      'INNER JOIN'
      #9'PESSOAS PES'
      'ON PES.PES_IDFCOD = CHE.CHE_EMISSOR'
      'INNER JOIN '
      #9'BANCOS BAN'
      'ON BAN.BAN_CODIGO = CHE.CHE_BANCOEMISSOR'
      'INNER JOIN'
      #9'EMPRESAS EMP'
      'ON EMP.EMP_CODIGO = CHE.EMP_CODIGO'
      'INNER JOIN'
      #9'USUARIOS VEN'
      'ON VEN.USU_CODIGO = CHE.CHE_VENDEDOR'
      'INNER JOIN '
      #9'CONTAS CON'
      'ON CON.CON_CODIGO = CHE.CHE_CODCONTA'
      'INNER JOIN '
      #9'CONTAS_SUBCONTA SUB'
      'ON SUB.SUB_CODIGO = CHE.CHE_CODCONTA'
      'AND SUB.SUB_IDFCONTA = CHE.CHE_CODSUBCONTA'
      'WHERE CHE_IDFCHEQUE = :PCHEQUE;')
    Params = <
      item
        DataType = ftUnknown
        Name = 'PCHEQUE'
        ParamType = ptUnknown
      end>
    Left = 325
    Top = 370
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'PCHEQUE'
        ParamType = ptUnknown
      end>
  end
  object ZUpdateCheques: TZUpdateSQL
    DeleteSQL.Strings = (
      'DELETE FROM CHEQUES'
      'WHERE'
      '  CHE_IDFCHEQUE = :OLD_CHE_IDFCHEQUE')
    InsertSQL.Strings = (
      'INSERT INTO CHEQUES'
      '  (CHE_NUMERO, CHE_BANCOEMISSOR, CHE_AGENCIA, '
      'CHE_CONTA, CHE_VALOR, CHE_EMISSAO, '
      '   CHE_VENCIMENTO, CHE_PAGAMENTO, CHE_APRESENTACAO, '
      'CHE_PRACA, SAD_IDFDOCUMENTO, '
      '   EMP_CODIGO, CHE_VENDEDOR, CHE_OBSERVA, CHE_SITUACAO, '
      'CHE_VALORPAGAMENTO, '
      '   CHE_EMISSOR, CHE_BANCODEPOSITO, CHE_USRINCLUSAO, '
      'CHE_USRALTERACAO, CHE_USRBAIXA, '
      '   CHE_DTHINCLUSAO, CHE_DTHALTERACAO, CHE_DTHBAIXA, '
      'CHE_CODCONTA, CHE_CODSUBCONTA, '
      '   CHE_LANCAMENTOIDF)'
      'VALUES'
      '  (:CHE_NUMERO, :CHE_BANCOEMISSOR, :CHE_AGENCIA, '
      ':CHE_CONTA, :CHE_VALOR, '
      '   :CHE_EMISSAO, :CHE_VENCIMENTO, :CHE_PAGAMENTO, '
      ':CHE_APRESENTACAO, :CHE_PRACA, '
      '   :SAD_IDFDOCUMENTO, :EMP_CODIGO, :CHE_VENDEDOR, '
      ':CHE_OBSERVA, :CHE_SITUACAO, '
      '   :CHE_VALORPAGAMENTO, :CHE_EMISSOR, '
      ':CHE_BANCODEPOSITO, :CHE_USRINCLUSAO, '
      '   :CHE_USRALTERACAO, :CHE_USRBAIXA, :CHE_DTHINCLUSAO, '
      ':CHE_DTHALTERACAO, '
      '   :CHE_DTHBAIXA, :CHE_CODCONTA, :CHE_CODSUBCONTA, '
      ':CHE_LANCAMENTOIDF)')
    ModifySQL.Strings = (
      'UPDATE CHEQUES SET'
      '  CHE_NUMERO = :CHE_NUMERO,'
      '  CHE_BANCOEMISSOR = :CHE_BANCOEMISSOR,'
      '  CHE_AGENCIA = :CHE_AGENCIA,'
      '  CHE_CONTA = :CHE_CONTA,'
      '  CHE_VALOR = :CHE_VALOR,'
      '  CHE_EMISSAO = :CHE_EMISSAO,'
      '  CHE_VENCIMENTO = :CHE_VENCIMENTO,'
      '  CHE_PAGAMENTO = :CHE_PAGAMENTO,'
      '  CHE_APRESENTACAO = :CHE_APRESENTACAO,'
      '  CHE_PRACA = :CHE_PRACA,'
      '  SAD_IDFDOCUMENTO = :SAD_IDFDOCUMENTO,'
      '  EMP_CODIGO = :EMP_CODIGO,'
      '  CHE_VENDEDOR = :CHE_VENDEDOR,'
      '  CHE_OBSERVA = :CHE_OBSERVA,'
      '  CHE_SITUACAO = :CHE_SITUACAO,'
      '  CHE_VALORPAGAMENTO = :CHE_VALORPAGAMENTO,'
      '  CHE_EMISSOR = :CHE_EMISSOR,'
      '  CHE_BANCODEPOSITO = :CHE_BANCODEPOSITO,'
      '  CHE_USRINCLUSAO = :CHE_USRINCLUSAO,'
      '  CHE_USRALTERACAO = :CHE_USRALTERACAO,'
      '  CHE_USRBAIXA = :CHE_USRBAIXA,'
      '  CHE_DTHINCLUSAO = :CHE_DTHINCLUSAO,'
      '  CHE_DTHALTERACAO = :CHE_DTHALTERACAO,'
      '  CHE_DTHBAIXA = :CHE_DTHBAIXA,'
      '  CHE_CODCONTA = :CHE_CODCONTA,'
      '  CHE_CODSUBCONTA = :CHE_CODSUBCONTA,'
      '  CHE_LANCAMENTOIDF = :CHE_LANCAMENTOIDF'
      'WHERE'
      'CHE_IDFCHEQUE = :OLD_CHE_IDFCHEQUE')
    UseSequenceFieldForRefreshSQL = False
    Left = 456
    Top = 436
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'CHE_NUMERO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_BANCOEMISSOR'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_AGENCIA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_CONTA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_VALOR'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_EMISSAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_VENCIMENTO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_PAGAMENTO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_APRESENTACAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_PRACA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'SAD_IDFDOCUMENTO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'EMP_CODIGO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_VENDEDOR'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_OBSERVA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_SITUACAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_VALORPAGAMENTO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_EMISSOR'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_BANCODEPOSITO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_USRINCLUSAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_USRALTERACAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_USRBAIXA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_DTHINCLUSAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_DTHALTERACAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_DTHBAIXA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_CODCONTA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_CODSUBCONTA'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHE_LANCAMENTOIDF'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'OLD_CHE_IDFCHEQUE'
        ParamType = ptUnknown
      end>
  end
  object ZQRY_Devolucoes: TZQuery
    Connection = DtmGeral.ZConexaoBanco
    UpdateObject = ZUpdateDevolucoes
    SQL.Strings = (
      'SELECT AL.ALI_NOME,'
      '  DEV.CHE_IDFCHEQUE,'
      '  DEV.CHD_IDFDEVOLUCAO,'
      '  DEV.ALI_CODIGO,'
      '  DEV.CHD_DATADEVOLUCAO,'
      '  DEV.CHD_DATAREAPRESENTACAO'
      'FROM '
      '  CHEQUES_DEVOLUCOES DEV'
      'INNER JOIN ALINEAS AL'
      'ON AL.ALI_CODIGO = DEV.ALI_CODIGO'
      'WHERE CHE_IDFCHEQUE = :CHE_IDFCHEQUE'
      'ORDER BY CHD_DATAREAPRESENTACAO')
    Params = <
      item
        DataType = ftUnknown
        Name = 'CHE_IDFCHEQUE'
        ParamType = ptUnknown
      end>
    Left = 544
    Top = 492
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'CHE_IDFCHEQUE'
        ParamType = ptUnknown
      end>
  end
  object ZUpdateDevolucoes: TZUpdateSQL
    DeleteSQL.Strings = (
      'DELETE FROM CHEQUES_DEVOLUCOES'
      'WHERE'
      '  CHEQUES_DEVOLUCOES.CHD_IDFDEVOLUCAO = '
      ':OLD_CHD_IDFDEVOLUCAO')
    InsertSQL.Strings = (
      'INSERT INTO CHEQUES_DEVOLUCOES'
      '  (CHE_IDFCHEQUE, ALI_CODIGO, CHD_DATADEVOLUCAO, '
      'CHD_DATAREAPRESENTACAO)'
      'VALUES'
      '  (:CHE_IDFCHEQUE, :ALI_CODIGO, :CHD_DATADEVOLUCAO, '
      ':CHD_DATAREAPRESENTACAO)')
    ModifySQL.Strings = (
      'UPDATE CHEQUES_DEVOLUCOES SET'
      '  CHE_IDFCHEQUE = :CHE_IDFCHEQUE,'
      '  ALI_CODIGO = :ALI_CODIGO,'
      '  CHD_DATADEVOLUCAO = :CHD_DATADEVOLUCAO,'
      '  CHD_DATAREAPRESENTACAO = :CHD_DATAREAPRESENTACAO'
      'WHERE'
      '  CHEQUES_DEVOLUCOES.CHD_IDFDEVOLUCAO = '
      ':OLD_CHD_IDFDEVOLUCAO')
    UseSequenceFieldForRefreshSQL = False
    Left = 317
    Top = 465
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'CHE_IDFCHEQUE'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'ALI_CODIGO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHD_DATADEVOLUCAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'CHD_DATAREAPRESENTACAO'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'OLD_CHD_IDFDEVOLUCAO'
        ParamType = ptUnknown
      end>
  end
  object SQLC_Cheque_Devolvido: TClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftUnknown
        Name = 'CHE_IDFCHEQUE'
        ParamType = ptUnknown
      end>
    ProviderName = 'DSP_Devolucoes'
    AfterPost = SQLC_Cheque_DevolvidoAfterPost
    Left = 229
    Top = 490
    object SQLC_Cheque_DevolvidoCHE_IDFCHEQUE: TIntegerField
      FieldName = 'CHE_IDFCHEQUE'
      Required = True
    end
    object SQLC_Cheque_DevolvidoCHD_IDFDEVOLUCAO: TIntegerField
      FieldName = 'CHD_IDFDEVOLUCAO'
      Required = True
    end
    object SQLC_Cheque_DevolvidoALI_CODIGO: TStringField
      FieldName = 'ALI_CODIGO'
      Required = True
      Size = 2
    end
    object SQLC_Cheque_DevolvidoCHD_DATADEVOLUCAO: TDateField
      FieldName = 'CHD_DATADEVOLUCAO'
      Required = True
    end
    object SQLC_Cheque_DevolvidoCHD_DATAREAPRESENTACAO: TDateField
      FieldName = 'CHD_DATAREAPRESENTACAO'
    end
    object SQLC_Cheque_DevolvidoALI_NOME: TStringField
      FieldName = 'ALI_NOME'
      Required = True
      Size = 40
    end
  end
  object SQLC_Cheques: TClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftUnknown
        Name = 'PCHEQUE'
        ParamType = ptUnknown
      end>
    ProviderName = 'DSP_Cheques'
    AfterOpen = SQLC_ChequesAfterOpen
    BeforeClose = SQLC_ChequesBeforeClose
    AfterInsert = SQLC_ChequesAfterInsert
    AfterEdit = SQLC_ChequesAfterEdit
    BeforePost = SQLC_ChequesBeforePost
    OnCalcFields = SQLC_ChequesCalcFields
    Left = 85
    Top = 498
    object SQLC_ChequesCHE_IDFCHEQUE: TIntegerField
      FieldName = 'CHE_IDFCHEQUE'
      Required = True
    end
    object SQLC_ChequesCHE_NUMERO: TStringField
      FieldName = 'CHE_NUMERO'
      Required = True
    end
    object SQLC_ChequesCHE_BANCOEMISSOR: TStringField
      FieldName = 'CHE_BANCOEMISSOR'
      Required = True
      Size = 3
    end
    object SQLC_ChequesCHE_AGENCIA: TStringField
      FieldName = 'CHE_AGENCIA'
      Required = True
      Size = 10
    end
    object SQLC_ChequesCHE_CONTA: TStringField
      FieldName = 'CHE_CONTA'
      Required = True
    end
    object SQLC_ChequesCHE_VALOR: TFloatField
      FieldName = 'CHE_VALOR'
      Required = True
      DisplayFormat = '0.00'
      EditFormat = '0.00'
    end
    object SQLC_ChequesCHE_EMISSAO: TDateField
      FieldName = 'CHE_EMISSAO'
      Required = True
    end
    object SQLC_ChequesCHE_VENCIMENTO: TDateField
      FieldName = 'CHE_VENCIMENTO'
      Required = True
    end
    object SQLC_ChequesCHE_PAGAMENTO: TDateField
      FieldName = 'CHE_PAGAMENTO'
    end
    object SQLC_ChequesCHE_APRESENTACAO: TDateField
      FieldName = 'CHE_APRESENTACAO'
    end
    object SQLC_ChequesCHE_PRACA: TStringField
      FieldName = 'CHE_PRACA'
      Size = 40
    end
    object SQLC_ChequesSAD_IDFDOCUMENTO: TIntegerField
      FieldName = 'SAD_IDFDOCUMENTO'
    end
    object SQLC_ChequesEMP_CODIGO: TSmallintField
      FieldName = 'EMP_CODIGO'
      Required = True
    end
    object SQLC_ChequesCHE_VENDEDOR: TStringField
      FieldName = 'CHE_VENDEDOR'
      Required = True
      Size = 3
    end
    object SQLC_ChequesCHE_OBSERVA: TMemoField
      FieldName = 'CHE_OBSERVA'
      BlobType = ftMemo
    end
    object SQLC_ChequesCHE_SITUACAO: TStringField
      FieldName = 'CHE_SITUACAO'
      Size = 1
    end
    object SQLC_ChequesCHE_VALORPAGAMENTO: TFloatField
      FieldName = 'CHE_VALORPAGAMENTO'
      DisplayFormat = '0.00'
      EditFormat = '0.00'
    end
    object SQLC_ChequesCHE_EMISSOR: TIntegerField
      FieldName = 'CHE_EMISSOR'
      Required = True
    end
    object SQLC_ChequesCHE_BANCODEPOSITO: TStringField
      FieldName = 'CHE_BANCODEPOSITO'
      Size = 3
    end
    object SQLC_ChequesCHE_USRINCLUSAO: TStringField
      FieldName = 'CHE_USRINCLUSAO'
      Required = True
      Size = 3
    end
    object SQLC_ChequesCHE_USRALTERACAO: TStringField
      FieldName = 'CHE_USRALTERACAO'
      Required = True
      Size = 3
    end
    object SQLC_ChequesCHE_USRBAIXA: TStringField
      FieldName = 'CHE_USRBAIXA'
      Size = 3
    end
    object SQLC_ChequesCHE_DTHINCLUSAO: TDateTimeField
      FieldName = 'CHE_DTHINCLUSAO'
      Required = True
    end
    object SQLC_ChequesCHE_DTHALTERACAO: TDateTimeField
      FieldName = 'CHE_DTHALTERACAO'
      Required = True
    end
    object SQLC_ChequesCHE_DTHBAIXA: TDateTimeField
      FieldName = 'CHE_DTHBAIXA'
    end
    object SQLC_ChequesCHE_CODCONTA: TStringField
      FieldName = 'CHE_CODCONTA'
      Required = True
      Size = 3
    end
    object SQLC_ChequesCHE_CODSUBCONTA: TStringField
      FieldName = 'CHE_CODSUBCONTA'
      Required = True
      Size = 3
    end
    object SQLC_ChequesCHE_LANCAMENTOIDF: TIntegerField
      FieldName = 'CHE_LANCAMENTOIDF'
    end
    object SQLC_ChequesCHE_SITUACAO_LITERAL: TStringField
      FieldKind = fkCalculated
      FieldName = 'CHE_SITUACAO_LITERAL'
      Size = 40
      Calculated = True
    end
    object SQLC_ChequesPES_CPFCNPJ: TStringField
      FieldName = 'PES_CPFCNPJ'
      Size = 18
    end
    object SQLC_ChequesPES_NOME: TStringField
      FieldName = 'PES_NOME'
      Size = 60
    end
    object SQLC_ChequesPES_IDEINS: TStringField
      FieldName = 'PES_IDEINS'
    end
    object SQLC_ChequesBAN_NOME: TStringField
      FieldName = 'BAN_NOME'
      Size = 40
    end
    object SQLC_ChequesEMP_FANTAS: TStringField
      FieldName = 'EMP_FANTAS'
      Size = 60
    end
    object SQLC_ChequesCON_DESCRICAO: TStringField
      FieldName = 'CON_DESCRICAO'
      Size = 40
    end
    object SQLC_ChequesSUB_DESCRICAO: TStringField
      FieldName = 'SUB_DESCRICAO'
      Size = 40
    end
    object SQLC_ChequesUSU_NOME: TStringField
      FieldName = 'USU_NOME'
      Size = 60
    end
  end
  object DSP_Devolucoes: TDataSetProvider
    DataSet = ZQRY_Devolucoes
    Left = 213
    Top = 442
  end
  object DSP_Cheques: TDataSetProvider
    DataSet = ZQRY_cheques
    Left = 125
    Top = 442
  end
end
